public class Circle extends test {
    private double r;
    final private static double PI=3.14;
    public Circle(double r){
        this.r=r;
    }
    @Override
    public void draw() {
        System.out.println("圆：r = "+r);
    }

    @Override
    void calcArea() {
        area = PI * r * r;

    }

}
